import request from '@/utils/request'

// 查询课程与观察点关系列表
export function listLessonInspectpoint(query) {
  return request({
    url: '/stu/lessonInspectpoint/list',
    method: 'get',
    params: query
  })
}

// 查询课程与观察点关系详细
export function getLessonInspectpoint(id) {
  return request({
    url: '/stu/lessonInspectpoint/' + id,
    method: 'get'
  })
}

// 新增课程与观察点关系
export function addLessonInspectpoint(data) {
  return request({
    url: '/stu/lessonInspectpoint',
    method: 'post',
    data: data
  })
}

// 修改课程与观察点关系
export function updateLessonInspectpoint(data) {
  return request({
    url: '/stu/lessonInspectpoint',
    method: 'put',
    data: data
  })
}

// 删除课程与观察点关系
export function delLessonInspectpoint(id) {
  return request({
    url: '/stu/lessonInspectpoint/' + id,
    method: 'delete'
  })
}
